package com.cssw.fyzb.core.dao.word;

import com.cssw.fyzb.core.model.dodb.WordCommand;

/**
 * @author YangYiQun
 */
public interface WordCommandDao {

    /**
     * 根据主键查询
     *
     * @param commandId
     * @return
     */
    WordCommand findById(Long commandId);

    /**
     * 保存口令
     *
     * @return
     */
    Long save(Long userId, Long sourceId, String type, String param);
}
